<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
	String username = request.getParameter("username");
	String password = request.getParameter("password");
	if (username == "" || username == null || password == "" || password == "") {
		response.sendError(500, "用户名或密码错误");
	} else {
		response.sendRedirect("login_ok.jsp");
	}
	%>
</body>
</html>